package com.example.xw.common.service.fallback;

import com.example.xw.common.entity.Admin;
import com.example.xw.common.service.AdminService;
import com.example.xw.common.vo.Result;

public class FallbackAdminServiceImpl implements AdminService {

    @Override
    public Result<Admin> register(Admin admin) {
        return new Result(6000,null,"服务器暂时不可用，请稍后再试");
    }

    @Override
    public Result<Admin> login(String loginName, String loginPwd) {
        return new Result(6000,null,"服务器暂时不可用，请稍后再试");
    }
}
